package com.lanou.service.impl;

import com.lanou.bean.HousingEstate;
import com.lanou.mapper.HousingEstateMapper;
import com.lanou.service.HousingEstateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HousingEstateServiceImpl implements HousingEstateService{

    @Autowired
    private HousingEstateMapper housingEstateMapper;

    @Override
    public List<HousingEstate> getHousingEstateByCityCode(String citycode) {
        return housingEstateMapper.getHousingEstateByCityCode(citycode);
    }
}
